<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="servletupdate" method="post">
		<table align="center">
			<caption>修改信息</caption>
			<tr>
				<td>修改的学号</td>
				<td>
					<input type="text" name="id">
				</td>
			</tr>
			<tr>
				<td>修改的字段</td>
				<td>
					<input type="text" name="ziduan">
				</td>
			</tr>
			<tr>
				<td>旧信息</td>
				<td>
					<input type="text" name="olddata">
				</td>
			</tr>
			<tr>
				<td>新信息</td>
				<td>
					<input type="text" name="newdata">
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="修改">
					<input type="button" value="主页面" onclick="location.href='main.jsp'">
				</td>
			</tr>
		</table>
	</form>
	<h3 align="right" style="color: green;">ziduan:id/name/sex/city</h3>
</body>
</html>